package com.ltkj.baseplatform.domain.vo;

import com.ltkj.baseplatform.domain.SerSuggestion;
import com.ltkj.system.api.domain.CommAttachment;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 投诉建议对象 ser_suggestion
 * 
 * @author chenzeen
 * @date 2023-08-29
 */
@ApiModel(value = "投诉建议")
public class SerSuggestionVO extends SerSuggestion
{
    /** 类型转义 */
    @ApiModelProperty("建议类型名称")
    private String suggestionTypeName;

    private List<CommAttachment> attachmentList;

    public String getSuggestionTypeName() {
        return suggestionTypeName;
    }

    public void setSuggestionTypeName(String suggestionTypeName) {
        this.suggestionTypeName = suggestionTypeName;
    }

    public List<CommAttachment> getAttachmentList() {
        return attachmentList;
    }

    public void setAttachmentList(List<CommAttachment> attachmentList) {
        this.attachmentList = attachmentList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("suggestionType", getSuggestionType())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("suggestContent", getSuggestContent())
            .append("replyContent", getReplyContent())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("isDel", getIsDel())
            .toString();
    }
}
